Hello and welcome to this video on Javascript syntax javascript syntax is a set of rules or guidelines
you should implement when writing javascript code.
These rules are in no particular order.
Rule number one javascript is case sensitive.
For example food with uppercase F and food with all known case are not the same.
Rule number two is relevant.
Case in we names year long white case for variable names e.g. my account use case for objets classes
and functions e.g. my account.
In is court come your case because it resembles the hump of a camel.
Use upper case for Constance e.g. my account constans are values that should not change.
Number three.
Semicolons to end statements in G.
Variable front equals upwell States moods are what comprises of javascript code.
So a javascript code can contain one statement or a bunch of statements.
Rule number 4.
Javascript ignores white spaces.
Why spaces are good for the humans it enables them to read code properly.
As examples will work because javascript does not care about white spaces white spaces are characters
in computing that represents horizontal or vertical spaces secrecies some spaces here.
These are horizontal and then basic and these are vertical spaces.
In this video.
Hi covered javascript syntax in the next video.
I will be talking about how to pad javascript to your web pages.
Thank you for taking the time to watch this video.